* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #333;
}
.bgi {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to right, #be93c5, #7bc6cc);
}
/* 动画代码 */
.enter {
  margin: auto;
  width: 48vw;
  height: 52vh;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.877);
  animation-name: show;
  animation-duration: 2s;
  font-size: 14px;
  font-weight: 100;
}
@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.enter h1 {
  margin: 7vh 0 0 0;
  margin-left: 9vw;
  height: 10vh;
  font-size: 36px;
  font-weight: 100;
}
.enter .uname,
.enter .psw {
  margin-top: 10px;
  padding: 0 1vw;
  width: 23vw;
  height: 5.5vh;
  font-size: 17px;
}
.enter .enter-head {
  display: inline-block;
  width: 4vw;
  padding-left: 4vw;
  padding-right: 1vw;
}
.enter .checkbox {
  margin-left: 1vw;
}
.enter .enter-text {
  display: inline-block;
  margin-left: 2vh;
}
.enter .enter-btn,
.enter .login-btn {
  display: inline-block;
  margin-top: 1vh;
  margin-left: 9vw;
  border: solid 1px #333;
  border-radius: 5px;
  width: 9vw;
  height: 6vh;
  text-align: center;
  line-height: 6vh;
  cursor: pointer;
  transition: 0.3s;
}
.enter .enter-btn:hover,
.enter .login-btn:hover {
  background-color: rgba(204, 204, 204, 0.719);
}
.login {
  position: relative;
  margin: auto;
  width: 48vw;
  height: 52vh;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.877);
  animation-name: show;
  animation-duration: 2s;
  font-size: 14px;
  font-weight: 100;
}
@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.login h1 {
  margin: 7vh 0 0 0;
  margin-left: 9vw;
  height: 10vh;
  font-size: 36px;
  font-weight: 100;
}
.login .uname,
.login .psw {
  margin-top: 10px;
  padding: 0 1vw;
  width: 23vw;
  height: 5.5vh;
  font-size: 17px;
}
.login .enter-head {
  display: inline-block;
  width: 4vw;
  padding-left: 4vw;
  padding-right: 1vw;
}
.login .checkbox {
  margin-left: 1vw;
}
.login .enter-text {
  display: inline-block;
  margin-left: 2vh;
}
.login .enter-btn,
.login .login-btn {
  display: inline-block;
  margin-top: 1vh;
  margin-left: 9vw;
  border: solid 1px #333;
  border-radius: 5px;
  width: 9vw;
  height: 6vh;
  text-align: center;
  line-height: 6vh;
  cursor: pointer;
  transition: 0.3s;
}
.login .enter-btn:hover,
.login .login-btn:hover {
  background-color: rgba(204, 204, 204, 0.719);
}
.login .login-btn {
  margin-top: 3vh;
}
.login .return {
  position: absolute;
  top: 10px;
  left: 20px;
  padding: 0 10px;
  border: 1px solid transparent;
  font-size: 26px;
  cursor: pointer;
  transition: 0.3s;
}
.login .return:hover {
  border: 1px solid transparent;
  background-color: #ccc;
}
.login .ok {
  display: none;
  font-weight: 550;
  color: #3bcc3b;
}
@media screen and (max-width: 425px) {
  .enter,
  .login {
    width: 80vw;
    height: 56vh;
    font-size: 12px;
  }
  .enter .form,
  .login .form {
    height: 22vh;
  }
  .enter h1,
  .login h1 {
    margin-left: 20vw;
  }
  .enter .enter-head,
  .login .enter-head {
    width: 15vw;
  }
  .enter .uname,
  .login .uname,
  .enter .psw,
  .login .psw {
    margin-top: 0;
    width: 51vw;
    font-size: 14px;
  }
  .enter .enter-text,
  .login .enter-text {
    display: block;
    margin-top: 1vh;
    margin-left: 19vw;
  }
  .enter .enter-btn,
  .login .enter-btn,
  .enter .login-btn,
  .login .login-btn {
    margin-top: 0;
    margin-left: 20vw;
    width: 19vw;
  }
  .login .return {
    left: 2vw;
  }
}
